.project-file-operation {
  position: relative;
  background: var(--content-background);

  :global(.closeButton) {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0;
    background: transparent;

    &:focus,
    &:hover {
      .closeButton-icon {
        stroke: var(--color-error);
      }
    }
  }

  :global(.closeButton-content) {
    display: flex;
  }

  :global(.closeButton-icon) {
    width: 25px;
    height: 25px;
    stroke: #777;
  }

  :global(.sectionType) {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: var(--color-primary);
  }

  :global(.sectionType-icon) {
    width: 18px;
    height: 18px;
    margin-right: 4px;
    stroke: var(--color-primary);
  }

  :global(.versionTitle) {
    display: flex;
    align-items: center;
  }

  :global(.versionTitle-name) {
    color: var(--color-primary);
  }

  :global(.versionTitle-tag) {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    font-family: var(--font-monospace);
    font-size: 14px;
    font-weight: normal;
    color: #888;
  }

  :global(.versionTitle-tag-icon) {
    width: 12px;
    height: 12px;
    stroke: #bbb;
  }

  :global(.title) {
    display: flex;
    padding: 12px 20px 12px 12px;
    background: var(--content-background);
    border-bottom: 1px solid var(--background-light-highlight);
    font-size: 15px;
  }

  :global(.title-document) {
    display: flex;
    align-items: baseline;
    margin-left: 10px;
    font-size: 16px;
  }

  :global(.title-documentExtension) {
    font-size: 14px;
    color: var(--color-grey);
  }

  :global(.subtitle) {
    font-size: 13px;
    font-weight: bold;
  }

  :global(.subtitle-label) {
    font-size: 11px;
    font-weight: normal;
    color: #333;
  }

  :global(.renderExport) {
    position: absolute;
    top: 10px;
    right: 50px;
  }

  :global(.toggleJiptExport) {
    position: absolute;
    top: 13px;
    right: 130px;
  }

  :global(.sections) {
    display: flex;
  }

  :global(.sections-file) {
    flex: 1 1 40%;
    padding: 20px;
  }

  :global(.sections-preview) {
    flex: 1 1 60%;
    padding: 20px;
  }

  :global(.sections-preview-title) {
    font-size: 13px;
    color: var(--color-grey);
  }

  :global(.sections-preview-empty) {
    padding: 30px 10px;
    margin: 10px 0 0;
    background: #fafafa;
    border: 1px solid #eee;
    text-align: center;
    font-size: 13px;
    font-style: italic;
    color: var(--color-grey);
  }
}

@media (max-width: (800px)) {
  .project-file-operation {
    :global(.sections) {
      flex-direction: column;
    }
  }
}
